<template>
  <div class="main"></div>
</template>

<script>
//import md5 from "md5"
import api from '@/api'
import TwoStepCaptcha from '@/components/tools/TwoStepCaptcha'
import { mapActions } from 'vuex'
import { timeFix } from '@/utils/util'
import Vue from 'vue'
import { ACCESS_TOKEN, ENCRYPTED_STRING } from '@/store/mutation-types'
import { putAction, postAction, getAction } from '@/api/manage'
import { encryption, getEncryptedString } from '@/utils/encryption/aesEncrypt'
import store from '@/store/'
import { USER_INFO } from '@/store/mutation-types'
import LoginSelectModal from './LoginSelectModal.vue'

export default {
  components: {

  },
  data() {  },
  created() {
    this.open()
  },
  methods: {
    open() {
      getAction('/sys/user/getQyId', {}).then(res=>{
        console.log(res + "----111")
           // this.tenantList = res.result
           let url = 'http://www.chexinmeng.com//doLoginByqyId?qyId='+res;
             window.open(url, '_blank');
          })
      
    }},
}
</script>

<style lang="less" scoped>
.user-layout-login {
  label {
    font-size: 14px;
  }

  .getCaptcha {
    display: block;
    width: 100%;
    height: 40px;
  }

  .forge-password {
    font-size: 14px;
  }

  button.login-button {
    padding: 0 15px;
    font-size: 16px;
    height: 40px;
    width: 100%;
  }

  .user-login-other {
    text-align: left;
    margin-top: 24px;
    line-height: 22px;

    .item-icon {
      font-size: 24px;
      color: rgba(0, 0, 0, 0.2);
      margin-left: 16px;
      vertical-align: middle;
      cursor: pointer;
      transition: color 0.3s;

      &:hover {
        color: #1890ff;
      }
    }

    .register {
      float: right;
    }
  }
}
#qrcode {
  width: 1.81rem;
  height: 1.81rem;
  padding: 0.15rem;
  background: #f1f1f1;
  /deep/img {
    width: 100%;
    height: 100%;
  }
}
</style>
<style>
.valid-error .ant-select-selection__placeholder {
  color: #f5222d;
}
</style>